Skip to main content

Update Retail User

πŸ‘€βž‘οΈπŸŒ Update Retail User Request (Client β†’ WCF REST Service)​

This message is sent by the Client to the WCF REST Service for modifying any particular details of a Web Retail User in ODIN and WebAdmin.
The Service will validate the request based on the parameters sent and upon successful modification of the user, it will send the response back in XML format.
In case of failure, it will send a failure response.

πŸ“˜ Tags and Fields​

TagField NameReq’dData Type (Max)Comment
63Message VersionYString (10)Fixed Value – FT1.0
64Message TypeYIntegerFixed Value – 320
67Reserved PG Dealer IdYString (10)Reserved PG Dealer Id
4Session IdYString (100)Must match session id received on logon response
201User IdYString (10)Web Retail User Id
202Group IdYString (10)Group Id of the user
203Manager IdYString (50)ODIN Manager identifier (IP or DNS). Must match ODIN Manager Settings in WebAdmin.
Optional for non-ODIN users
206NameOString (40)First & Last Name separated by space
209Address Line 1OString (40)Address Line 1
210Address Line 2OString (40)Address Line 2
211CityOString (40)City
212Pin codeOString (6)Pin code
213Telephone NoOString (20)Telephone No
214Mobile NoOString (14)Mobile No (updated in Tel No field in ODIN Admin)
215Fax NoOString (20)Fax No
216Email IdOString (39)Email Id
217Pan CardOString (10)Pan Card
218User StatusOChar (1)A – Active, S – Suspended, I – Inactive
219Surveillance Auto or ManualOShort0 – Auto, 1 – Manual
220Trading AllowedOString (100)Comma-separated Segment IDs for trading allowed
221Market Data AllowedOString (100)Comma-separated Segment IDs for market data allowed
222Login AllowedOString (100)Comma-separated Segment IDs for login allowed
223Login TypeOStringComma-separated Product IDs:
DIET=1, ODIN AERO=13, API_WEB=16, API_MOBILE=17, BREEZE=20, ODIN_WAVE_MOB=23
224Bank Details DataOString (800)Multiple bank account details separated by $:
Action,BankId,BranchName,BranchCity,AccountNo,CustomerId,AccountType,IsDefaultBank,PGProduct
Refer the Bank Details Data table below for detailed filed description.
225DP DetailsOString (800)Multiple Demat account details separated by $. Fields:
Action,DP Id,Client Beneficiary Id,Holding Type,Default DP,Guardian First Name,Guardian Last Name,Guardian DOB,Guardian PAN,Second Holder First Name,Second Holder Last Name,Second Holder DOB,Second Holder PAN,Third Holder First Name,Third Holder Last Name,Third Holder DOB,Third Holder PAN,Remarks
227Unique Reference NumberOString (20)Unique reference number generated by Third Party Application
228General Settings Template NameOString (50)GST template name if modifying user’s default GST template
229First Holder DOBOString (10)Format: DD-MM-YYYY. Mandatory if updating DP details (Tag-225) or MF UCC (Tag-232)
230Odin User TypeMShort (1)0 – Non ODIN User, 1 – ODIN User. Mandatory for identifying current user type
231Product AllowedOString (50)Comma-separated Product IDs:
2-Mutual Fund, 3-IPO, 4-PMS, 14-BOND, 32-3 in 1 Account
232MF UCC DetailsOString (1000)Exchange-wise UCC mapping, comma-separated:
BSEUCC,NSEUCC1,NSEUCC2,NSEUCC3,ModeAllowed,BSETransactionMode,BSE UCC Mode,Holding Mode,MF 2ndApp First Name,...MF Other RTA Payment Mode
Mandatory if MF product allowed
233GenderOString (2)M – Male, F – Female, NA – Firm Account
234Client TypeOString (10)Mandatory if Product allowed for IPO, BONDS, PMS
235Tax StatusOString (10)Mandatory if Product allowed for MF, BONDS, PMS
236OccupationOString (10)Mandatory if Product allowed for MF, BONDS, PMS
237Form60OShort (1)Y – Yes, N – No
238Incorporation Date FlagOShort (1)1 – Indicates incorporation date update required (Tag-229)
239Father/Husband NameOString (50)Father/Husband Name
277Inactive SegmentsOString (100)Comma-separated Segment IDs to inactivate (Not applicable for Non-ODIN user)
278Global FlagOShort0 – Not considered, 1 – Considered (Default: 0)
279Number of Orders Per SecondOLongDefault: -1. Max allowed: 999
280Max Broadcast Scrip AllowedOLongDefault: -1. Max allowed: 99999999
281Branch NameOString (15)Branch Name
282POAOShort0 – POA, 2 – Non-POA
247Max GTD AllowedOLongBlank or 0 β†’ GTD unchecked. Max allowed: 9999
248Product TypeOShort1 – Margin/IntraDay, 2 – Delivery/CarryForward, 4 – MarginPlus, 8 – MTF, 64 – PTST
999Check Sum ValueYIntegerChecksum generated based on entire string. Always appended at end

Examples​

βœ… String to be passed for generating checksum:​

63=FT1.0|64=320|67=RESERVEDPG|4=RESERVEDPG_2312018152511|201=HARDIK2402|202=HO|203=172.25.1.1|204=|205=|206=Hardik Kothiya|208=4|209=Address Line 1|210=Address Line 2|211=Mumbai|212=400011|213=|214=9876543210|215=|216=aaa@bbb.com|217=AAAAA1234A|218=A|219=1|220=1,2,3,4,5|221=1,2,3,4,5|222=1,2,3,4,5|223=1,2,3,7,14,16,17,18,19,20|224=1,AXIS,Kandivali,Mumbai,02145214521423,1111222,CA,0,NSE EQUITIES$2,HDFC,Andheri,Mumbai,04874562102145,99998888,CA,0,NSE EQUITIES|225=1,12345678,1234567898762402,1,Y,,,,,FTIL,Techno,31-08-1992,AAAAA1222A,Moons,Technology,31-08-1992,AAAAA1333A,Remark1|227=|228=TEMP5|229=31-08-1992|230=1|231=2,3,4,14|232=BSEUCC,NSEUCC1,NSEUCC2,,7,2,,JO,Hardik,Kothiya,QWERT1212A,1,T1,T1,HHHHH1234H,1,G1,G2,HHHHH1111A,31-08-1991,1,MUMBAI,N1,N2,31-08-1993,Self,Surat,AM,,AM|233=M|234=IND|235=1|236=1|237=Y|238=|239=MD|277=1,2,3|278=1|279=3|280=15|281=MUMBAI|282=0|247=10|248=1

βœ… String to be passed for modifying retail user details along with checksum:​

UpdateRetailUser("63=FT1.0|64=320|67=RESERVEDPG|4=RESERVEDPG_2312018152511|201=HARDIK2402|202=HO|203=172.25.1.1|204=|205=|206=Hardik Kothiya|208=4|209=Address Line 1|210=Address Line 2|211=Mumbai|212=400011|213=|214=9876543210|215=|216=aaa@bbb.com|217=AAAAA1234A|218=A|219=1|220=1,2,3,4,5|221=1,2,3,4,5|222=1,2,3,4,5|223=1,2,3,7,14,16,17,18,19,20|224=1,AXIS,Kandivali,Mumbai,02145214521423,1111222,CA,0,NSE EQUITIES$2,HDFC,Andheri,Mumbai,04874562102145,99998888,CA,0,NSE EQUITIES|225=1,12345678,1234567898762402,1,Y,,,,,FTIL,Techno,31-08-1992,AAAAA1222A,Moons,Technology,31-08-1992,AAAAA1333A,Remark1|227=|228=TEMP5|229=31-08-1992|230=1|231=2,3,4,14|232=BSEUCC,NSEUCC1,NSEUCC2,,7,2,,JO,Hardik,Kothiya,QWERT1212A,1,T1,T1,HHHHH1234H,1,G1,G2,HHHHH1111A,31-08-1991,1,MUMBAI,N1,N2,31-08-1993,Self,Surat,AM,,AM|233=M|234=IND|235=1|236=1|237=Y|238=|239=MD|277=1,2,3|278=1|279=3|280=15|281=MUMBAI|282=0|247=10|248=1|999=248")

πŸ“ Notes​

  • Note 1: Update Retail User request can work as an independent method if only modified details tags are passed (except mandatory tags). Example: If only Bank details need to be updated, send a request with Tag-224 and mandatory tags. Sequencing of tags is not mandatory except for mandatory tags. The system updates only the tags received. This method modifies user data simultaneously for ODIN Manager and WebAdmin (similar to Create Retail User method).

  • Note 2: Avoid using special characters like |, $, =, ,, >, < unless explicitly mentioned in tags.


πŸ¦πŸ“„ Bank Details Data​

Field NameReq’dData Type (Max)Comment
ActionOInt (1)Action = 1 or 2:
1 – Insert/Modify
2 – Delete

Important: Applicable only for Update Retail User method. For New User Creation, this field is not expected.
Bank IdMString (20)Bank Id of the user
Bank Branch NameOString (40)Branch Name of the respective Bank Id
Bank Branch CityOString (35)Branch City of the respective Bank Id
Bank Account NoMString (20)Bank Account Number of the respective Bank Id
Bank Customer IdOString (10)Customer Id of the respective Bank Id
Bank Account TypeMString (3)Account Type: CA, SB, NRE, NRO
Is Default BankOInteger1 – Set as Default Bank
0 – Not Default
PG ProductOString (100)Name of the PG Product to be mapped to the Bank

πŸ“ŠπŸ“„ DP Details Data​

Field NameReq’dData Type (Max)Comment
ActionOInt (1)Action = 1 or 2:
1 – Insert/Modify
2 – Delete

Important: Applicable only for Update Retail User method. For New User Creation, this field is not expected.
DP IdMString (8)DP Id
Client Beneficiary IdMString (16)Client Beneficiary Id
Holding TypeMString (35)Holding Type:
1 – 1st Holder
2 – Joint Holder 1+1
3 – Joint Holder 1+2
Default DPOChar (1)Default DP:
Y – Yes
N – No
Guardian First NameOString (25)Applicable if First Holder is Minor
Guardian Last NameOString (25)Applicable if First Holder is Minor
Guardian DOBOString (10)Format: DD-MM-YYYY (Applicable if First Holder is Minor)
Guardian PANOString (10)Applicable if First Holder is Minor
Second Holder First NameOString (25)Second Holder First Name
Second Holder Last NameOString (25)Second Holder Last Name
Second Holder DOBOString (10)Format: DD-MM-YYYY
Second Holder PANOString (10)Second Holder PAN
Third Holder First NameOString (25)Third Holder First Name
Third Holder Last NameOString (25)Third Holder Last Name
Third Holder DOBOString (10)Format: DD-MM-YYYY
Third Holder PANOString (10)Third Holder PAN
RemarksOString (25)Remarks

πŸ“‘πŸ“¨ Update Retail User Response (WCF REST Service β†’ Client)​

πŸ“˜ Tags and Fields​

TagField NameReq’dComment
63Message VersionYFixed Value – FT1.0
64Message TypeYFixed Value – 321
18Response CodeYResponse Code:
0 – Failure
1 – Success
227Unique Reference NumberOSame as the one sent in the request
19Response MessageOResponse Message

Examples​

βœ… Success Case​

63=FT1.0|64=321|18=1|227=UC_22012018120931|19=User update successfully

❌ Failure Cases​

63=FT1.0|64=321|18=0|227=110717001213|19=Error occurred, kindly contact administrator
63=FT1.0|64=321|18=0|227=110717001213|19=Unable to connect to the remote server

⚠️ When Net.Net Service is down:​

63=FT1.0|64=321|18=0|227=110717001213|19=Unable to Connect to ODIN Manager